FROM bitnami/java:21
WORKDIR /app

COPY ./ruoyi-admin/target/ruoyi-admin.jar /app/
COPY ./ruoyi-admin/src/main/resources/*.yml /app/config/
CMD ["java","-jar","ruoyi-admin.jar","--spring.config.location=config/"]